﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using UmlDesigner.Model;

namespace UmlDesigner.Gui
{
    internal partial class FolderPropertiesForm : Form
    {
        private FolderWidget targetFolder;

        internal FolderPropertiesForm(FolderWidget widget)
        {
            InitializeComponent();

            targetFolder = widget;

            nameTextBox.Text = targetFolder.name;
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            targetFolder.name = nameTextBox.Text;
        }
    }
}
